#include<iostream>
using namespace std;

class A
{
public:
	/*A(int b)
	{
		_b = b;
	}*/

	A(int b = 1)
	{
		_b = b;
	}
	void print()
	{
		cout << _b << endl;
	}

private:
	int _b;
};

int main()
{
	A a(2);
	a.print();
	

	return 0;
}